@function getRem($pixel) {
  @return $pixel/200*1rem;
}
@function getRemFour($top, $right, $bottom, $left) {
  @return $top/200*1rem $right/200*1rem $bottom/200*1rem $left/200*1rem;
}

//省略号
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.articleDetailedContent {
  width: getRem(730);
  padding: getRem(10) getRem(20);
  background: #FFF;
  border-radius: getRem(20);
  overflow: hidden;
  margin: getRem(10);
  .title {
    font-size: getRem(30);
    border-bottom: 1px solid #ccc;
    padding: getRem(20) 0;
  }
  .name {
    font-size: getRem(40);
    padding: getRem(20) 0;
  }
  aside {
    font-size: getRem(14);
    color: #ccc;
    border-bottom: 1px solid #ccc;
    padding-bottom: getRem(10);
  }
  .topicContent {
    padding: getRem(20) 0;
    font-size: getRem(30);
    line-height: getRem(45);
    text-align: justify;
    img {
      width: 100%;
      display: block;
      overflow: hidden;
      margin: getRem(20) 0;
      border-radius: getRem(5);
    }
    span {
      display: block;
      overflow: hidden;
    }
  }
  .contentImg {
    img {
      width: 100%;
    }
  }
}
.repliesList {
  width: getRem(730);
  background: #fff;
  margin: 0 auto;
  border-radius: getRem(20);
  padding: getRem(10) getRem(20) getRem(20) getRem(20);
  .replies {
    border-bottom: 1px solid #ccc;
    padding: getRem(30) 0 getRem(20);
    aside {
      overflow: hidden;
      img {
        width: getRem(70);
        height: getRem(70);
        display: block;
        border: 0;
        float: left;
        border-radius: getRem(50);
      }
      span {
        display: block;
        float: left;
        vertical-align: super;
        font-size: getRem(12);
        margin: getRem(15) 0 0 getRem(20);
      }
    }
    p {
      font-size: getRem(30);
      line-height: getRem(34);
      min-height: getRem(50);
      margin: getRem(20) 0 0 getRem(5);
    }
    time {
      display: block;
      width: 100%;
      font-size: getRem(12);
    }
  }
}
.publishArticles {
  width: 100%;
  padding: getRem(20) getRem(20);
  background: #FFF;
  margin-top: getRem(20);
  border-top: 1px dashed #ccc;
  border-bottom: 1px dashed #ccc;
  overflow: hidden;
  textarea {
    width: 100%;
    min-height: getRem(200);
    padding: getRem(10) 0;
  }
  a {
    display: block;
    float: left;
    margin-top: getRem(10);
    margin-right: getRem(20);
    background: #616161;
    color: #fff;
    border-radius: getRem(10);
    padding: getRem(10) getRem(20);
  }
}
